

<div id="gp-main" >
    <div class="gp-maincolumn">
    	<div id="tabs">
			<ul>
				<li><a href="#tabs-1">动态</a></li>
				<li><a href="#tabs-2">相册</a></li>
				<li><a href="#tabs-3">成员</a></li>
				<li><a href="#tabs-4">来访</a></li>
			</ul>
			<div id="tabs-1">
			     events
			</div>
			<div id="tabs-2">
			 photo
			</div>
			<div id="tabs-3">
			 <{foreachq item=item from=$memb_users}>
		         <a href="<{$item.uid}>"><{$item.name}></a>
		    <{/foreach}>
			</div>
			
			<div id="tabs-4">
			 <{foreachq item=item from=$foot_users}>
		         <a href="<{$item.uid}>"><{$item.name}></a>
		    <{/foreach}>
			</div>
		</div>
    	
    </div>
    
    <div class="gp-rightcolumn accordion">
        <div class="gp-block">
            <a href="group.php?id=<{$group.id}>&amp;o=p" class="dialog_link">发表主题</a>
        </div>
        <div class="gp-block">
    		<h3>登录</h3>
    		<div class="gp-blockcontent"></div>
    	</div>
    	
    	<div class="gp-block">
    		<h3>群资料</h3>
    		<div class="gp-blockcontent">
    			<table width="100%" cellspacing="0" border="0">
    			     <tr>
    			         <td width="50%">创建: <a href="<{$smarty.const._GROUPS_USERINFO_URL}><{$group.uid}>"><{$creator}></a></td>
    			         <td width="50%">分类: <a href="category.php?id=<{$group.catid}>"><{$group.catid}></a></td>
    			     </tr>
    			     <tr>
    			         <td>状态: </td>
    			         <td>成员: <{$group.members}></td>
    			     </tr>
    			     <tr>
    			         <td>主题: <{$group.topics}></td>
    			         <td>回复: <{$group.replies}></td>
    			     </tr>
    			</table>
    		</div>
    	</div>
    	
    	<div class="gp-block">
    		<h3>搜索</h3>
    		<div class="gp-blockcontent"></div>
    	</div>
    	
    	<div class="gp-block">
    		<h3>管理员</h3>
    		<div class="gp-blockcontent">
    			<{assign var="n" value="0"}>
                <{assign var="v" value="3"}>
                <table width="100%" cellspacing="0" border="0">
                    <{foreachq item=item from=$groupinfo.groupadmin name="list"}>
                    <{if $n++%$v eq "0"}><tr><{/if}>
                        <td align="center" width="33%">
                            <div style="padding: 3px 0; line-height: 20px;">
                                <div><a href="<{$smarty.const._GROUPS_USERINFO_URL}><{$item.uid}>"><img src="<{$item.user_avatar}>" alt="<{$item.name}>" /></a></div>
                                <div><{$item.online}>&nbsp;<a href="<{$smarty.const._GROUPS_USERINFO_URL}><{$item.uid}>" title="<{$item.name}>"><{$item.name}></a></div>
                            </div>
                        </td>
                        <{if $smarty.foreach.list.last AND $n%$v neq "0"}><td colspan="<{$v-$n%$v}>">&nbsp;</td><{/if}>
                    <{if $n%$v eq "0"}></tr><{/if}>
                    <{/foreach}>
                </table>
    		</div>
    	</div>
    	
    	<div class="gp-block">
    		<h3>来这的人还去过这些群</h3>
    		<div class="gp-blockcontent">
    			<{assign var="i" value="0"}>
                <{assign var="k" value="3"}>
                <table width="100%">
                    <{foreachq item=item from=$togroups name="groups"}>
                    <{if $i++%$k eq "0"}><tr><{/if}>
                        <td align="center" width="33%">
                            <div style="padding: 3px 0; line-height: 20px;">
                                <div><a href="group.php?id=<{$item.group_id}>"><img src="<{$item.group_logo}>" alt="" /></a></div>
                                <div><a href="group.php?id=<{$item.group_id}>"><{$item.group_name}></a></div>
                            </div>
                        </td>
                        <{if $smarty.foreach.groups.last AND $i%$k neq "0"}><td colspan="<{$k-$i%$k}>">&nbsp;</td><{/if}>
                    <{if $i%$k eq "0"}></tr><{/if}>
                    <{/foreach}>
                </table>
    		</div>
    	</div>
    </div>
    
    <div class="clearfix"></div>
</div>
